<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/10/9
  Time: 21:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--
    1.数据类型转换
    2.数据类型格式化
    3.数据校验
--%>
<%--http://localhost:8088/formtest--%>
 <%--<form:form action="/formtest" id="test" method="post" >--%>
    <%--name: <input type="text" name="name" id="name" />--%>
    <%--age: <input type="text" name="age" id="age" />--%>
    <%--birth:<input type="date" name="birth" id="birth" />--%>
     <%--<input type="submit" value="submit"/>--%>
 <%--</form:form>--%>


<form:form action="/custom_convert"  method="post" >
    Employee:<input type="text"  name="employee"/>
    <input type="submit" value="submit"/>
</form:form>
    <br>
<p>${employee.name}</p>
<p>${employee.age}</p>
<br>

</body>
</html>
